home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d13
/
plotv21.arc
/
PLIC.BAS
< prev
next >
Wrap
BASIC Source File
|
1990-02-21
|
1KB
|
23 lines
andle rectilinear, polar and vector
plotting. After plotting, you may review a tabulation of all plotted points
(except for the vector program).
These programs were written in BASICA to take advantage of a unique BASICA
capability - the CHAIN MERGE feature. When you enter an equation to be
plotted, you may enter it just as you would write it on paper. The
program accepts your equation as a string variable, appends your equation
to a string that defines a line number then writes the whole string to a
file (FCT1.BAS for example). This file is then CHAIN MERGED with the
program itself and your equation becomes an executable line of code,
complete with a line number in the program. Unfortunately, existing
compilers can not compile the CHAIN MERGE statement.
We felt that being able to enter the equation in standard equation format was
so important that we have released these programs in BASICA. No other
language that we know of allows a chain-merge-like function and writing the
function in another language would be a formidable task. Chalk one up for
BASIC! Although not extremely fast, we think that you will find the plotting
speed of these programs satisfactory.
SPECIAL NOTE: Because of the technique mentioned above, you will render
these pro